home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2004 April / Gamestar_61_2004-04_dvdb.iso / DVDStar / Editace / hltp.exe / {app} / Source Code / Textures SDK / common / scriplib.h < prev    next >
C/C++ Source or Header  |  1998-12-02  |  693b  |  34 lines

  1. /***
  2. *
  3. *    Copyright (c) 1998, Valve LLC. All rights reserved.
  4. *    
  5. *    This product contains software technology licensed from Id 
  6. *    Software, Inc. ("Id Technology").  Id Technology (c) 1996 Id Software, Inc. 
  7. *    All Rights Reserved.
  8. *
  9. ****/
  10.  
  11. // scriplib.h
  12.  
  13. #ifndef __CMDLIB__
  14. #include "cmdlib.h"
  15. #endif
  16.  
  17. #define    MAXTOKEN    512
  18.  
  19. extern    char    token[MAXTOKEN];
  20. extern    char    *scriptbuffer,*script_p,*scriptend_p;
  21. extern    int        grabbed;
  22. extern    int        scriptline;
  23. extern    qboolean    endofscript;
  24.  
  25.  
  26. void LoadScriptFile (char *filename);
  27. void ParseFromMemory (char *buffer, int size);
  28.  
  29. qboolean GetToken (qboolean crossline);
  30. void UnGetToken (void);
  31. qboolean TokenAvailable (void);
  32.  
  33.  
  34.